package com.TTBook.core.category.dao;

import com.TTBook.core.category.model.BookCategory;
import com.TTBook.core.category.model.BookCategoryCriteria;
import java.util.List;

public interface BookCategoryDAO {
    int countByCriteria(BookCategoryCriteria criteria);

    int deleteByCriteria(BookCategoryCriteria criteria);

    void insert(BookCategory record);

    void insertSelective(BookCategory record);

    List selectByCriteria(BookCategoryCriteria criteria);

    int updateByCriteriaSelective(BookCategory record, BookCategoryCriteria criteria);

    int updateByCriteria(BookCategory record, BookCategoryCriteria example);
}